import 'package:gluz/generated/json/base/json_field.dart';
import 'package:gluz/generated/json/shop_evaluate_entity.g.dart';
import 'dart:convert';
export 'package:gluz/generated/json/shop_evaluate_entity.g.dart';

@JsonSerializable()
class ShopEvaluateEntity {
	String id = '';
	String productId = '';
	String userId = '';
	int orderId = 0;
	int orderItemId = 0;
	int rating = 0;
	String reviewContent = '';
	String images = '';
	int isAnonymous = 0;
	int status = 0;
	String userName = '';
	String userImg = '';
	String userCountry = '';
	String memberLevel = '';
	String createdTime = '';
	String updatedTime = '';

	ShopEvaluateEntity();

	factory ShopEvaluateEntity.fromJson(Map<String, dynamic> json) => $ShopEvaluateEntityFromJson(json);

	Map<String, dynamic> toJson() => $ShopEvaluateEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}